<template>
  <div>
    <div class="box-card">
      <img class="leftIcon" :src="item.taskTypeImg" alt="">
      <div class="right-box">
        <p class="titles"><qq>Task number</qq>：{{ item.idw }}</p>
        <div class="money over-hide-1">
          {{ $t('income') }}： ${{item.amount}}
        </div>
        <div class="content over-hide-4">
            {{$t('orderTip')}}
        </div>
      </div>
      <div class="right-checked">
        <img  src="@/assets/images/success.png" alt="">

      </div>
    </div>
  </div>
</template>

<script>
export default {
  props:['item']
}
</script>

<style scoped lang="scss">
.box-card{
  width: 100%;
  min-height: 94px;
  background: #FFFFFF;
  border-radius: 10px 10px 10px 10px;
  margin-top: 10px;
  padding: 10px 16px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .leftIcon{
    height: 40px;
    width: 40px;
    object-fit: cover;
  }
  .right-box{
    width: 100%;
    min-height: 80px;
    margin-left: 10px;
    .titles{
      font-weight: 800;
      font-size: 11px;
      color: #533DF1;
    }
    .money{
      width: 100%;
      font-size: 14px;
      margin: 5px 0;
      font-weight: 700;
    }
    .content{
      font-weight: 400;
      font-size: 12px;
      color: #5B6B86;
      line-height: 14px;
    }
  }
  .right-checked{
    width: 30px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    img{
      width: 20px;
      height: 20px;
      object-fit: cover;
    }
  }
}
</style>